package com.lagou.pojo;
/*
 * PackageName: com.lagou.pojo
 * ClassName:   configuration
 * Author:   zhang
 * Date:     Created in 2020/9/25
 * Description:
 * History:
 * <author>        <time>             <version>          <desc>
 * 作者姓名         修改时间            版本号              描述
 * zhang           2020/9/25      1.0
 */

import lombok.Data;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * Title:SqlMapConfig中解析出来的内容
 * Project: IPersistence_test
 *
 * @author ZhangKe
 * Created on 2020/9/25
 */
@Data
public class Configuration {

    private DataSource dataSource;

    /**
     * 为了在向下传递（解析）时少传递参数，此时Configuration带着MappedStatement的Map信息
     * key:statemenId
     * value: 封装好的mappedStatement对象
     */
    Map<String,MappedStatement> mappedStatementMap = new HashMap<>();
}
